package com.csun.dsms.service;

import com.csun.dsms.comment.core.support.IService;
import com.csun.dsms.model.domain.YcAlert;
import com.csun.dsms.model.domain.YcDeviceData;
import com.csun.dsms.model.dto.yc.YcDeviceQueryDto;

import java.util.List;

public interface YcAlertService extends IService<YcAlert> {
    /*
     * 添加数据
     * */
    Integer addAlert(YcAlert ycAlert);

    /*
     * 1. 根据单个设备查找历史数据
     * */
    List<YcAlert> query(YcDeviceQueryDto ycDeviceQueryDto);


    //批量查询实时数据
    Integer readAlert(YcAlert ycAlert);


}
